.padding {
    padding: 10px 10px;
}

.pointer {
    cursor: pointer;
}

.autoscroll {
    overflow-y: auto;
    overflow-x: inherit;
}

.scrollbar {
    position: relative;
}

.bootbox-body {
    word-wrap: break-word;
}

.search .form-control {
    border-color: #d2d2d2;
}

textarea {
    resize: none;
}

.tooltip-inner {
    word-break: break-all;
}

/*
 * Component: Dropdown menus
 * -------------------------
 */
/*Dropdowns in general*/
.dropdown-menu {
    box-shadow: none;
    border-color: #eee;
    border-radius: 0;
}

.dropdown-menu > li {
    height: 28px; /*从原来32修改为28*/
}

.dropdown-menu > li > a {
    height: 28px; /*从原来32修改为28*/
    padding: 4px 20px; /*从原来6修改为4px*/
    color: #777;
}

.dropdown-menu > li > a:hover {
    background-color: #e1e3e9;
    color: #333;
}

.dropdown-menu > .divider {
    background-color: #eee;
}

/* Add fade animation to dropdown menus by appending
 the class .animated-dropdown-menu to the .dropdown-menu ul (or ol)*/
.open:not(.dropup) > .animated-dropdown-menu {
    backface-visibility: visible !important;
    -webkit-animation: flipInX 0.7s both;
    -o-animation: flipInX 0.7s both;
    animation: flipInX 0.7s both;
}

@keyframes flipInX {
    0% {
        transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        transition-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        transition-timing-function: ease-in;
    }
    60% {
        transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    100% {
        transform: perspective(400px);
    }
}

@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
        -webkit-transition-timing-function: ease-in;
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
        -webkit-transition-timing-function: ease-in;
    }
    60% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
        opacity: 1;
    }
    80% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    }
    100% {
        -webkit-transform: perspective(400px);
    }
}

/*
 * Component: Form
 * ---------------
 */
.no_modification {
    background: #ccc;
}

/*  dataloader来自tableloader,只做刷新功能，不做样式展示。予以注销。
.dataloader { padding: 5px;}
*/

.form-control { /*！！！！！！！！！！！！！！！！！！！！！*/

    box-shadow: none;
    /* border-color: #727272; 输入框边框色值更改，wqh 2017年10月17日*/
    border-color: #cccccc;
    height: 30px;
    padding: 2px 10px;
}

.form-control:focus {
    border-color: #25abf2 !important;
    box-shadow: none;
}

.form-control::-moz-placeholder {
    color: #bbb;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #bbb;
}

.form-control::-webkit-input-placeholder {
    color: #bbb;
}

.form-control:not(select) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.has-feedback .form-control { /*！！！！！！！！！！！！！！！！！！！！！*/

    height: 30px;
    padding-right: 30px;
}

.has-feedback .form-control-feedback {
    top: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
}

.has-feedback .form-control-feedback .glyphicon,
.has-feedback .form-control-feedback .fa,
.has-feedback .form-control-feedback .ion {
    margin-right: 0px;
}

.form-group.has-success label {
    color: #00a65a;
}

.form-group.has-success .form-control {
    border-color: #00a65a !important;
    box-shadow: none;
}

.form-group.has-success .valid-flag,
.form-group.has-success .right-input-icon {
    color: #00a65a;
}

.form-group.has-success .input-group .input-group-addon {
    border-color: #00a65a;
}

.form-group.has-warning label {
    color: #f39c12;
}

.form-group.has-warning .form-control {
    border-color: #f39c12 !important;
    box-shadow: none;
}

.form-group.has-warning .valid-flag,
.form-group.has-warning .right-input-icon {
    color: #f39c12;
}

.form-group.has-warning .input-group .input-group-addon {
    border-color: #f39c12;
}

.form-group.has-error label {
    color: #dd4b39;
}

.form-group.has-error .form-control {
    border-color: #dd4b39 !important;
    box-shadow: none;
}

.form-group.has-error .valid-flag,
.form-group.has-error .right-input-icon {
    color: #dd4b39;
}

.form-group.has-error .input-group .input-group-addon {
    border-color: #dd4b39;
}

.form-group.has-error .help-block {
    border: 1px solid rgba(200, 0, 0, 0.25);
    margin-top: auto;
}

.form-group.has-error .help-block .ar {
    border-right-color: rgba(200, 0, 0, 0.25);
}

.form-group.has-error .help-block i {
    color: #dd4b39;
}

/* Input group 组合型输入框 */
.input-group .input-group-addon {
    border-radius: 0px;
    /* border-color: #727272; 输入框边框色值更改，wqh 2017年10月17日*/
    border-color: #cccccc;
    background-color: #fff;
    padding: 4px 7px;
}

.ComboDataDic {
    display: -webkit-inline-box;
}

.ComboDataDic > span {
    width: 10px;
    line-height: 16px
}

.input-group .glyphicon,
.input-group .fa,
.input-group .ion {
    margin-right: 0px;
}

/* button groups */
.btn-group-vertical .btn.btn-flat:first-of-type,
.btn-group-vertical .btn.btn-flat:last-of-type {
    border-radius: 0;
}

.icheck > label {
    padding-left: 0;
}

input[type="radio"].form-box,
input[type="checkbox"].form-box {
    height: 21px;
}

.inputbox-group {
    display: table;
    margin-top: 7px;
}

.inputbox-group > label {
    display: table-row;
}

.inputbox-group > label > input {
    margin-top: -2px;
    vertical-align: middle;
}

.inputbox-horizontal {
    display: table-row;
}

.inputbox-horizontal > label {
    display: table-cell;
    padding-right: 15px;
}

.inputbox-horizontal > label > input {
    margin-top: -2px;
    vertical-align: middle;
}

.combobox .dropdown-menu {
    width: 100%;
}

.form-horizontal .form-control.right-icon,
.form-inline .form-control.right-icon {
    padding-right: 30px;
    position: relative;
}

.form-horizontal .right-input-icon,
.form-inline .right-input-icon {
    position: absolute;
    right: 27px;
    top: 8px;
    transition: color 0.4s ease 0s;
    cursor: pointer;
}

.valid-flag {
    height: 30px;
    display: table-cell;
    white-space: nowrap;
    vertical-align: middle;
    position: absolute;
    top: 0;
    right: -11px;
    padding: 8px 6px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #dd4b39;
    text-align: center;
}

.valid-flag .glyphicon,
.valid-flag .fa,
.valid-flag .ion {
    margin-right: 0px;
}

.form-group-sm .valid-flag {
    height: 30px;
    padding: 0.61538462px;
    font-size: 12px;
    line-height: 1.5;
    min-height: 32px;
}

.form-group-sm .form-control.right-icon {
    padding-right: 25.33333333px;
    position: relative;
}

.form-group-sm .right-input-icon {
    position: absolute;
    right: 25px;
    top: 9px;
    transition: color 0.4s ease 0s;
}

.form-group-lg .valid-flag {
    height: 46px;
    padding: 16px 6px;
    font-size: 18px;
    line-height: 1.3333333;
    min-height: 38px;
}

.form-group-lg .form-control.right-icon {
    padding-right: 39.33333333px;
    position: relative;
}

.form-group-lg .right-input-icon {
    position: absolute;
    right: 31px;
    top: 6px;
    transition: color 0.4s ease 0s;
}

.input-group-addon .icon-caret {
    padding-left: 2px;
    padding-right: 2px;
}

.formgroup > h5 i,
.formgroup > h5 label {
    cursor: pointer;
    color: #333333;
}

.form-flow {
    padding: 0 15px;
}

.form-flow .form-group {
    margin-bottom: 0;
    vertical-align: middle;
}

.form-flow .form-control-static {
    display: inline-block;
}

.form-flow .input-group > .form-control {
    width: 100%;
}

.form-flow .form-placeholder {
    height: 69px;
}

.form-flow .control-label {
    margin-bottom: 0;
    margin-top: 5px;
    vertical-align: middle;
    padding: 0 0;
    text-align: right;
    font-weight: normal;
}

.form-flow .help-block {
    font-size: 12px;
    font-weight: normal;
    margin-top: 2px;
    line-height: 12px;
    padding: 3px 4px; /*5px>>>3px*/
    min-height: 18px; /*22px>>18px*/
    margin-bottom: 4px;
    background: transparent;
    position: relative;
    min-width: 200px;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.form-flow .help-block:before,
.form-flow .help-block:after {
    content: " ";
    display: table;
}

.form-flow .help-block:after {
    clear: both;
}

.form-flow .help-block.info {
    border: 1px solid #eee;
    color: #000;
}

.form-flow .help-block .ar {
    border-width: 5px;
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: 50%;
    left: -5px;
    margin-top: -5px;
    border-right-color: rgba(200, 200, 200, 0.25);
    border-left-width: 0;
}

.form-flow .help-block .ar:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    bottom: -5px;
    left: 1px;
    content: " ";
    border-width: 5px;
    border-right-color: #fff;
    border-left-width: 0;
}

.form-flow .help-block i {
    color: #25abf2;
}

.form-flow .bottom-padding {
    height: 8px;
    font-size: 1px;
    line-height: 1px;
    display: block;
    margin: 0;
}

.form-flow .radio,
.form-flow .checkbox {
    display: inline-block;
    margin-top: 0;
    margin-bottom: 0;
    vertical-align: middle;
}

.form-flow .radio label,
.form-flow .checkbox label {
    padding-left: 0;
}

.form-flow .radio input[type="radio"],
.form-flow .checkbox input[type="checkbox"] {
    position: relative;
    margin-left: 0;
}

/*扩展的表单查看态样式，lt 2017年10月19日*/
.form-flow-view {
    padding: 0 15px;
}

.form-flow-view .form-control { /*！！！！！！！！！！！！！！！！！！！！！*/
    height: 30px;
    border-radius: 4px;
    border: #ccc 1px solid;
}

.form-flow-view .help-block {
    font-size: 12px;
    font-weight: normal;
    margin-top: -12px;
    line-height: 12px;
    padding: 3px 4px;
    min-height: 18px;
    margin-bottom: 4px;
    background: transparent;
    position: relative;
    min-width: 200px;
    border-radius: 2px;
    display: block;
    vertical-align: middle;
}

.form-flow-view .help-block.info {
    color: #000;
    margin-top: 0;
}

.form-flow-view .control-label {
    margin-bottom: 0;
    margin-top: 5px;
    vertical-align: middle;
    padding: 0 0;
    text-align: right;
    font-weight: normal;
}

.form-flow-view .form-control:focus { /*！！！！！！！！！！！！！！！！！！！！！*/


}

label.placeholder {
    display: block;
    overflow: hidden;
    position: absolute;
    padding: 5px 10px;
    line-height: 20px;
}

.modal .modal-dialog-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.bootbox .modal-dialog {
    max-width: 500px;
}

.icon-blank:before {
    content: "\2000\2000";
}

/* SimpleTree */
.simpletree {
    margin: 0;
    padding: 0;
    display: none;
    min-width: 100%;
}

.simpletree ul {
    margin: 0;
    padding: 0;
}

.simpletree li {
    clear: both;
    display: block;
    line-height: 26px;
    cursor: pointer;
    white-space: nowrap;
}

.simpletree a,
.simpletree span {
    display: inline-block;
    height: 26px;
    line-height: 26px;
}

.simpletree div {
    display: block;
    vertical-align: middle;
}

.simpletree div div {
    display: inline-block;
    width: 22px;
    height: 26px;
    border: none;
}

.simpletree a,
.simpletree a:hover {
    text-decoration: none;
}

.simpletree .center_collapsable,
.simpletree .first_collapsable,
.simpletree .last_collapsable,
.simpletree .center_expandable,
.simpletree .first_expandable,
.simpletree .last_expandable,
.simpletree .one_expandable,
.simpletree .one_collapsable {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    font-size-adjust: none;
    font-stretch: normal;
    font-feature-settings: normal;
    font-language-override: normal;
    font-kerning: auto;
    font-synthesis: weight style;
    font-variant: normal;
    text-rendering: auto;
    transform: translate(0px, 0px);
}

.simpletree .center_collapsable,
.simpletree .first_collapsable,
.simpletree .last_collapsable,
.simpletree .one_collapsable {
    padding: 4px 3px 4px 7px;
}

.simpletree .center_collapsable::before,
.simpletree .first_collapsable::before,
.simpletree .last_collapsable::before,
.simpletree .one_collapsable::before {
    content: "\f107";
}

.simpletree .center_expandable,
.simpletree .first_expandable,
.simpletree .last_expandable,
.simpletree .one_expandable {
    padding: 5px 0px 0px 10px;
}

.simpletree .center_expandable::before,
.simpletree .first_expandable::before,
.simpletree .last_expandable::before,
.simpletree .one_expandable::before {
    content: "\f105";
}

.simpletree .indent {
    background: none;
}

.simpletree .checked,
.simpletree .unchecked,
.simpletree .disabled,
.simpletree .indeterminate {
    background: url(../images/tree/check.png) no-repeat;
}

.simpletree .unchecked {
    background-position: 0 2px;
}

.simpletree .hover .unchecked {
    background-position: 0 -48px;
}

.simpletree .checked {
    background-position: 0 -98px;
}

.simpletree .hover .checked {
    background-position: 0 -148px;
}

.simpletree .disabled {
    background-position: 0 -299px;
}

.simpletree .indeterminate {
    background-position: 0 -198px;
}

.simpletree .hover .indeterminate {
    background-position: 0 -248px;
}

.simpletree li a,
.simpletree li span {
    margin-left: 2px;
    color: #183152;
}

.simpletree .hover {
    background: #f5f5f5;
}

.simpletree .selected {
    background-color: #0088cc;
    box-shadow: 0 0 2px #BDBDBD;
    -webkit-box-shadow: 0 0 2px #BDBDBD;
    -moz-box-shadow: 0 0 2px #BDBDBD;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.simpletree .selected a {
    color: #ffffff;
}

.table-highlight > tbody > tr.active {
    color: #ffffff;
}

table.table tbody td .ellipsis,
table.table thead td .ellipsis,
table.table tfoot td .ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-tabs {
    border-bottom: none;
    height: 44px;
}

.nav-tabs > li {
    float: left;
    margin-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.nav-tabs > li > a {
    text-align: center;
    font-size: 12px;
    left: 2px;
    top: 2px;
    background: inherit;
    background-color: rgba(201, 201, 201, 1);
    border: none;
    border-radius: 6px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: 'microsoft yaHei';
    font-weight: 400;
    font-style: normal;
    color: #FFFFFF;
    margin-left: 1px;
    margin-right: 1px;
}

.nav-tabs > li > a:hover {
    border: none;
    color: #FFFFFF;
    background-color: rgba(66, 190, 204, 1);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus {
    border: none;
    color: #FFFFFF;
    background-color: rgba(66, 190, 204, 1);
}

.nav-tabs > li.active > a:hover {
    border: none;
    color: #FFFFFF;
    background-color: rgba(66, 190, 204, 1);
}

/* PAGINATION */
.pagination > li > a {
    background: #fafafa;
    color: #666;
    border-radius: 0 !important;
}

/*
 * Component: Button
 * -----------------
 */
.btn {
    border-radius: 3px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    vertical-align: text-top;
    padding: 4px 9px; /*4>>2,10>>9*/
    font-size: 14px;
    line-height: 20px;
}

.btn.uppercase {
    text-transform: uppercase;
}

.btn.btn-flat {
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 1px;
}

.btn.btn-primary {
    background-color: rgba(66, 190, 204, 1);
    border-color: rgba(66, 190, 204, 1);
}

.btn.btn-primary:hover,
.btn.btn-primary:active,
.btn.btn-primary.hover {
    background-color: rgba(51, 175, 189, 1);
    border-color: rgba(51, 175, 189, 1);
}

.btn:active {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn:focus {
    outline: none;
}

.btn.btn-file {
    position: relative;
    overflow: hidden;
}

.btn.btn-file > input[type='file'] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    opacity: 0;
    filter: alpha(opacity=0);
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.btn i.glyphicon,
.btn i.fa,
.btn i.ion {
    margin-right: 2px;
}

.btn[class*='bg-']:hover {
    -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.btn-app {
    border-radius: 3px;
    position: relative;
    padding: 15px 5px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    height: 60px;
    text-align: center;
    color: #666;
    border: 1px solid #ddd;
    background-color: #f4f4f4;
    font-size: 12px;
}

.btn-app > .fa,
.btn-app > .glyphicon,
.btn-app > .ion {
    font-size: 20px;
    display: block;
}

.btn-app:hover {
    background: #f4f4f4;
    color: #444;
    border-color: #aaa;
}

.btn-app:active,
.btn-app:focus {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-app > .badge {
    position: absolute;
    top: -3px;
    right: -10px;
    font-size: 10px;
    font-weight: 400;
}

/* PAGINATION */
.xquery {
    /* Input group */
}

.xquery .control-container {
    padding: 0 6px;
}

.xquery .control-container .bottom-padding {
    display: none !important;
}

.xquery .control-container .valid-flag {
    display: none !important;
}

.xquery .form-group:last-child .control-container {
    padding-right: 0px;
}

.xquery .form-group:first-child .control-container {
    padding-left: 0px;
}

.xquery .form-control {
    border-radius: 2px !important;
    border-color: #d2d2d2;
}

.xquery .input-group .form-control { /*！！！！！！！！！！！！！！！！！！！！！*/
    height: 30px;
    border-radius: 4px 0 0 4px !important;
}

.xquery .input-group .input-group-addon {
    border-radius: 0 2px 2px 0;
    border-color: #d2d2d2;
}
